-
Notifications
You must be signed in to change notification settings - Fork 5
rqspinlock: Annotate rqspinlock lock acquiring functions with __must_check #6409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: bpf-next_base
Are you sure you want to change the base?
rqspinlock: Annotate rqspinlock lock acquiring functions with __must_check #6409
Conversation
|
Upstream branch: 792f258 |
fe03c14 to
65bfb85
Compare
|
Upstream branch: 878ee3c |
fabce43 to
d7fd5bf
Compare
65bfb85 to
b1f8b58
Compare
|
Upstream branch: ae24fc8 |
d7fd5bf to
d0f36a4
Compare
b1f8b58 to
8f7081b
Compare
|
Upstream branch: b7f7d76 |
d0f36a4 to
9e92d92
Compare
8f7081b to
c347688
Compare
|
Upstream branch: 4dd3a48 |
9e92d92 to
3647fb9
Compare
c347688 to
fb42a92
Compare
|
Upstream branch: 8f7cf30 |
3647fb9 to
7568120
Compare
fb42a92 to
3282beb
Compare
|
Upstream branch: c427320 |
7568120 to
e076438
Compare
3282beb to
067f842
Compare
|
Upstream branch: fad8040 |
e076438 to
84c4d07
Compare
067f842 to
3bd2c43
Compare
|
Upstream branch: acf8726 |
84c4d07 to
4db461a
Compare
3bd2c43 to
71c4be1
Compare
|
Upstream branch: 4617b30 |
4db461a to
799a942
Compare
71c4be1 to
9b3817c
Compare
|
Upstream branch: 590699d |
799a942 to
bac067e
Compare
9b3817c to
90dfd48
Compare
|
Upstream branch: f2cb066 |
bac067e to
14f8e79
Compare
90dfd48 to
1559a3a
Compare
|
Upstream branch: 8c868a3 |
14f8e79 to
8059c34
Compare
1559a3a to
ae9b520
Compare
|
Upstream branch: 8f6ddc0 |
8059c34 to
740441d
Compare
ae9b520 to
399fdcb
Compare
|
Upstream branch: 5262cb2 |
740441d to
32e88cb
Compare
399fdcb to
8c83cb5
Compare
…check Locking a resilient queued spinlock can fail when deadlock or timeout happen. Mark the lock acquring functions with __must_check to make sure callers always handle the returned error. Suggested-by: Andrii Nakryiko <[email protected]> Acked-by: Kumar Kartikeya Dwivedi <[email protected]> Signed-off-by: Amery Hung <[email protected]>
|
Upstream branch: 688b745 |
Return errors from raw_res_spin_lock{_irqsave}() to writelock(). This is
simply to silence the unused result warning. lock_torture_writer()
currently does not handle errors returned from writelock(). This aligns
with the existing torture test for ww_mutex.
Signed-off-by: Amery Hung <[email protected]>
32e88cb to
ebb10cf
Compare
Pull request for series with
subject: rqspinlock: Annotate rqspinlock lock acquiring functions with __must_check
version: 2
url: https://patchwork.kernel.org/project/netdevbpf/list/?series=1026504